package test;

import org.springframework.stereotype.Component;

@Component("truck")
public class Truck implements Drive {
    public void drive() {
        System.out.println("驾驶卡车");
    }
}
